<template>
  <div id="app">
    <router-view/>
    <FooterFile  v-show="$route.meta.showFooter"/>
  </div>
</template>

<script>
import FooterFile from "./components/FooterFile/FooterFile.vue";
import {mapActions} from 'vuex'
export default {
  mounted(){
    this.$store.dispatch('getAddress')
    this.GetUserInfo()
  },
  methods:{
    ...mapActions(['GetUserInfo'])
  },
  name: "App",
  components: {
    FooterFile,
  },
};
</script>

<style lang='stylus' ref='stylesheet/stylus'>
@import '../static/css/reset.css'
  #app
    width 100%
    height 100%
    // background #f5f5f5
    position relative
</style>
